package com.xiangxiangjd.bean;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author 肖守凯
 * @since 2020-10-23
 */
@Data
@TableName("sys_dict")
@ApiModel(value="SysDict对象", description="")
public class SysDict extends Model<SysDict> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "字典类型")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "字典键值")
    @TableField("k")
    private String k;

    @ApiModelProperty(value = "字典标签")
    @TableField("val")
    private String val;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createTime",fill= FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updateTime",fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    @ApiModelProperty(value = "删除标记")
    @TableField(value = "delFlag",fill = FieldFill.INSERT)
    private String delFlag;

}
